package com.donleo.student.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.donleo.common.api.CommonResult;
import com.donleo.common.model.Sign;
import com.donleo.common.model.User;
import com.donleo.student.vo.SignVo;
import com.donleo.student.vo.UserVo;

import java.util.List;

/**
 * <p>
 * 签到表 服务类
 * </p>
 *
 * @author liangd
 * @since 2020-12-21
 */
public interface SignService extends IService<Sign> {

    List<User> findAllStudent(UserVo userVo);

    long getCountStudent(UserVo userVo);

    List<User> findTeamMemberByUserCode(String userCode);

    CommonResult saveSignData(List<Sign> list);

    List<UserVo> findAllSignRecord(UserVo userVo);

    long getCountSignRecord(UserVo userVo);

    CommonResult delete(Integer id);

    CommonResult deletes(List<Integer> idsList);

    CommonResult updateSign(Sign sign);

    SignVo findById(Integer id);
}
